﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class CTPhieuNhapBUS
    {
        public string TaoCTNHMoi()
        {
            CTPhieuNhapDAO dao = new CTPhieuNhapDAO();
            return dao.TaoCTNHMoi();
        }
        public int ThemCTPhieuNhap(CTPhieuNhapDTO ctpnDTO)
        {
            CTPhieuNhapDAO dao = new CTPhieuNhapDAO();
            return dao.ThemCTPhieuNhap(ctpnDTO);
        }
        public List<CTPhieuNhapDTO> TheoDoiNhapHang(string MaPN)
        {
            CTPhieuNhapDAO dao = new CTPhieuNhapDAO();
            return dao.TheoDoiNhapHang(MaPN);
        }
    }
}
